package com.twu.biblioteca;

public class movieInstance {
    private String movieName;
    private int yearOfRelease;
    private String nameOfDirector;
    private float movieRating;

    public movieInstance(String name, int releaseYear, String directorName, float starRating){
        movieName = name;
        yearOfRelease = releaseYear;
        nameOfDirector = directorName;
        movieRating = starRating;
    }
    public String getMovieName(){
        return movieName;
    }
    public int getYearOfRelease(){
        return yearOfRelease;
    }
    public String getDirectorName(){
        return nameOfDirector;
    }
    public float getMovieRating(){
        return movieRating;
    }
}
